import { ref } from 'vue'
import { getExaRecTask } from '@/request/api'

export default async function (status, page) {
    let all_data = []
    let pageSize = ref(4)
    let params = {
        status,
        page,
        pageSize: pageSize.value
    }
    const {ret, data} = await getExaRecTask(params)
    if(ret == 200) {
        all_data = data
    }
    return all_data
}
